package server.db.primary.mapper.map;

import server.db.primary.model.map.AfficheApp;
import server.db.primary.model.map.NewsApp;


import java.util.List;

public interface NewsAppMapper {
    int deleteByPrimaryKey(Long id);

    int insert(NewsApp record);

    int insertSelective(NewsApp record);

    NewsApp selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(NewsApp record);

    int updateByPrimaryKey(NewsApp record);

    List<NewsApp> selectByNumberId(Long numberId);

    List<NewsApp> selectByAll();

}